package com.booking;

import com.booking.common.BookingConstants;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Qikai.Lin
 * @date 2023/4/21
 */
@SpringBootApplication(scanBasePackages = BookingConstants.BASE_PACKAGE)
@MapperScan(basePackages = BookingConstants.MAPPER_PACKAGE)
public class BookingApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookingApplication.class, args);
    }
}
